package com.service.webservice.server;

public class WebServiceServer {
	
	private static WebServiceServer server;

	public static WebServiceServer instance() {
		if (WebServiceServer.server == null) {
			WebServiceServer.server = new WebServiceServer();
		}
		return WebServiceServer.server;
	}
	
	/**
	 * 启动服务
	 */
	public void run() {
		this.publish();
	}
	
	/**
	 * 发布服务
	 */
	public void publish() {
		(new WebServiceServer_Mixing()).publish();
	}
	
}
